package com.dragon.common.core.constant;

/**
 * @date: 2024/8/8 00:40
 * @author: ybl
 */
public class CacheConstants {
    /**
     * oauth 缓存前缀
     */
    public static final String PROJECT_OAUTH_ACCESS = "token::access_token";

    /**
     * 验证码前缀
     */
    public static final String DEFAULT_CODE_KEY = "DEFAULT_CODE_KEY:";

    /**
     * 菜单信息缓存
     */
    public static final String MENU_DETAILS = "menu_details";

    /**
     * 用户信息缓存
     */
    public static final String USER_DETAILS = "user_details";

    /**
     * 字典信息缓存
     */
    public static final String DICT_DETAILS = "dict_details";

    /**
     * 角色信息缓存
     */
    public static final String ROLE_DETAILS = "role_details";

    /**
     * oauth 客户端信息
     */
    public static final String CLIENT_DETAILS_KEY = "client:details";

    /**
     * 参数缓存
     */
    public static final String PARAMS_DETAILS = "params_details";

}
